package cn.com.vrv.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.alibaba.fastjson.JSONObject;

import lombok.Data;

/**
 * 识别模型
 * 
 * @author 赵炎
 * @version [V1.00, 2017年11月21日]
 * @see [相关类/方法]
 * @since V1.00
 */
@Entity
@Table(name = "t_recognition_model_tbl")
@Data
public class RecognitionModel implements Serializable
{
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 621486447170959819L;
    
    /**
     * modelId 模型ID
     */
    @Id
    @GeneratedValue
    @Column(name = "model_id")
    private Long modelId;
    
    /**
     * modelName 模型名
     */
    @Column(name = "model_name")
    private String modelName;
    
    /**
     * modelPath 模型路径
     */
    @Column(name = "model_path")
    private String modelPath;
    
    /**
     * modelType 模型类别
     */
    @Column(name = "model_type")
    private String modelType;
    
    /**
     * createTime 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;
    
    /**
     * modelDescription 模型描述文件
     */
    @Column(name = "model_description")
    private String modelDescription;
    
    @Override
    public String toString()
    {
        return JSONObject.toJSONString(this);
    }
}
